import pytest

from comms.seafile_func import login


@pytest.fixture()
def get_tounk():
    rasp=login()
    tounk=eval(rasp.text)['token']
    yield  tounk






@pytest.fixture
def func():
    print('来美团上班打卡')
    yield 300
    print('下班去洗个脚')
@pytest.fixture
def func1():
    print('来京东送外卖')
    yield 400
    print('下班去吃点烧烤喝点啤酒')
@pytest.fixture
def func2():
    print('去跑滴滴')
    yield 1000
    print('下班来个神龙套')